A number of rules can be defined for each eventual measured item to allow the generation of the measured item in the recipient project.
This should be defined on the 'base' or 'master' project, and not on each project where data is to be imported.
This is only required to be done once, although it is expected that it will change and be added to on many occasions.
To define the Schedule Generation Rules:
Select the menu Tools and then Interface.
Choose Schedule Generation Rules from the Setup menu.
Select a Layout from the dropdown list box.
To select the items for a Part/Subpart/Class combination:
Select a Part from the dropdown list box or ? popup.
Select a Subpart from the dropdown list box or ? popup.
Select a Class from the dropdown list box or ? popup.
Click the Select Items button to show the items in the top table.
It is possible to view more of the items selected in the top table by clicking the Hide/Show Selections button.
The items display the following fields in the table, none of which can be edited in the table:
Item Id
Full Description
Dim 1 formula
Dim 2 formula
Dim 3 formula
Times formula
Annotation function
Rules
Each full description requires one or more rules, each of which require three components.

To create a Rule:
Highlight the relevant item in the table.
Select the Rules tab folder.
Select a Field Name from the dropdown list box or entered by the user.
Select an Operand from the dropdown list box of entered by the user.
Take care when using the Field or Operand dropdown list box.
This merely inserts the selection at the current cursor position to save typing these.
Click at the appropriate location before selecting these.
= : Equal to
< : Less than
<= : Less than or equal to
> : Greater than
>= : Greater than or equal to
# : Not equal to
Enter a Value.
Multiple rules may be entered on each line.
eg To create an OR rule, enter OR and then the new rule, for example: DEPTH < 1 OR TYPE = "B"
All rules are regarded as being ANDed logically. A second line would imply the condition has to meet the rules on the first line AND the rule on the second line.
Rules must include spaces bwteen Field Operand and Condition eg OBJECT = L20MetalDoors.
Note the Condition (in this example L20MetalDoors) must not include spaces though when the rule is used data with spaces will meet the condition eg "L20 Metal Doors" will meet the condition and create an item.
When a rule is complete, click the Update Rules button to update the rules for the item selected.
These can then be seen in the Rules column in the table (use the horizontal scroll bar to view this if required).
To assist in the setup of the rules where the rules can often be the same or similar between many items, there is a Copy Rules and Paste Rules buttons, which allows the copy and paste of the rules, or alternatively use the Copy and Paste options from the right click menu.
Each of the columns for Dimensions and the Times column can have formula associated with them, and in addition the Annotation column can have a function applied to them. The annotation is not a calculated formula, but uses the same tool to update it.

To define a formula for a cell:
Select the Formula tab folder.
Select a Field from the dropdown list box.
Click the Insert Field button to add this to the Formula line.
Select a Mathematical Function from the dropdown list box.
Click the Insert Function button to add this to the Formula line.
Select a Field from the dropdown list box.
Click the Insert Field button to add this to the Formula line.
Repeat the above as required to build the formula.
Brackets, spaces and other numerics are allowed however these must be entered manually.
Some examples of valid formulae would be (codes are layout dependant):
[WIDTH] * [HEIGHT]
( [LENGTH] + [WIDTH] ) * 2
Note that square brackets surround the field names so that these do not get confused with mathematical functions.
When the formula is built, click the Update Cell button to update the selected cell with the formula.
The Annotation column can have other characters included as the fields will just be replaced and not calculated.
For example:
[START] - [END]
When all rules and formulae are entered, click the Validate button, to check and ensure that all are correctly defined.
A warning will indicate any invalid rule or formula.
Note:
Multiple Layouts can be defined to import similar information.
For example, each architect can produce a door or finished schedule.
The column positions and column headings are likely to differ, however it is not necessary to define a set of BQ master items for each schedule.
Provided the Column codes in the layout are consistent, the rules can still be applied.
See also: